using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;

public class siderbarbtn : MonoBehaviour
{
    public Button siderBtn;

    public GameObject sider;

    private void Awake()
    {
        siderBtn.onClick.AddListener(() => { 
            sider.SetActive(true);
        });        
    }

}
